package com.engineering.elink.domain;

import java.util.Date;

public class Message {
    private Integer messageId;

    private String content;

    private String userId;

    private String byUserId;

    private Date createTime;

    private int userDeleteStatus;
	
    private int byUserDeleteStatus;

    private int userReadStatus;
    
    private int byUserReadStatus;

    public Integer getMessageId() {
        return messageId;
    }

    public void setMessageId(Integer messageId) {
        this.messageId = messageId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getByUserId() {
        return byUserId;
    }

    public void setByUserId(String byUserId) {
        this.byUserId = byUserId == null ? null : byUserId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public int getUserDeleteStatus() {
		return userDeleteStatus;
	}

	public void setUserDeleteStatus(int userDeleteStatus) {
		this.userDeleteStatus = userDeleteStatus;
	}

	public int getByUserDeleteStatus() {
		return byUserDeleteStatus;
	}

	public void setByUserDeleteStatus(int byUserDeleteStatus) {
		this.byUserDeleteStatus = byUserDeleteStatus;
	}

	public int getUserReadStatus() {
		return userReadStatus;
	}

	public void setUserReadStatus(int userReadStatus) {
		this.userReadStatus = userReadStatus;
	}

	public int getByUserReadStatus() {
		return byUserReadStatus;
	}

	public void setByUserReadStatus(int byUserReadStatus) {
		this.byUserReadStatus = byUserReadStatus;
	}

	@Override
	public String toString() {
		return "Message [messageId=" + messageId + ", content=" + content + ", userId=" + userId + ", byUserId=" + byUserId + ", createTime=" + createTime
				+ ", userDeleteStatus=" + userDeleteStatus + ", byUserDeleteStatus=" + byUserDeleteStatus + ", userReadStatus=" + userReadStatus
				+ ", byUserReadStatus=" + byUserReadStatus + "]";
	}

}